﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FarmacieDAL
{
    public static class SubstanteActiveManager
    {
        private static List<Substanta_Activa> toateSubstantele;

        public static void Initialize(FarmacieEntities entitiesContext)
        {
            toateSubstantele = new List<Substanta_Activa>();
            toateSubstantele = entitiesContext.Substanta_Activa.ToList();
        }

        public static List<Substanta_Activa> ToateSubstantele
        {
            get
            {
                return toateSubstantele;
            }
        }
    }
}
